package com.yupi.yupao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.yupao.model.domain.Tag;
import com.yupi.yupao.model.domain.User;
import com.yupi.yupao.model.request.TagUpdateRequest;

/**
* @author 张莹莹
* @description 针对表【tag(标签)】的数据库操作Service
* @createDate 2024-03-27 16:28:24
*/
public interface TagService extends IService<Tag> {

    long addTag(Tag tag);

    boolean updateTag(TagUpdateRequest tagUpdateRequest, User loginUser);

    boolean deleteTag(long id, User loginUser);
}
